﻿using Fibot.Module.WangDianTong.Base;

namespace Fibot.Module.WangDianTong.trade.dto;

#region input

/// <summary>
/// 销售出库记录 查询条件
/// </summary>
public class StockoutOrderTradeGetListInputVo : BaseGetListInputVo
{
    /// <summary>
    /// 状态 
    /// 5已取消，55已审核，95已发货，105 部分打款，110已完成，113：异常发货
    /// </summary>
    public int status { get; set; }

    /// <summary>
    /// 开始时间
    /// </summary>
    public DateTime? start_time { get; set; }

    /// <summary>
    /// 结束时间
    /// </summary>
    public DateTime? end_time { get; set; }

    /// <summary>
    /// 分页大小 输入值范围1~100，
    /// </summary>
    public int page_size { get; set; }

    /// <summary>
    /// 页号
    /// </summary>
    public int page_no { get; set; }


}

#endregion

#region output

/// <summary>
/// 销售出库 单条Dto
/// </summary>
public class StockoutOrderTradeGetOutputDto
{
    /// <summary>
    /// 
    /// </summary>
    public string stockout_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string order_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string src_order_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string warehouse_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string consign_time { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string status { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string order_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_count { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_total_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_total_cost { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string post_fee { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string logistics_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string package_fee { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receivable { get; set; }
    /// <summary>
    /// 小鹏
    /// </summary>
    public string receiver_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_country { get; set; }
    /// <summary>
    /// 上海
    /// </summary>
    public string receiver_province { get; set; }
    /// <summary>
    /// 上海市
    /// </summary>
    public string receiver_city { get; set; }
    /// <summary>
    /// 虹口区
    /// </summary>
    public string receiver_district { get; set; }
    /// <summary>
    /// 龙茗路9号
    /// </summary>
    public string receiver_address { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_mobile { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_telno { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_zip { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string remark { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string weight { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string stockout_reason { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string subtype { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string outer_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string operator_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string logistics_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string logistics_code { get; set; }
    /// <summary>
    /// 顺丰快递
    /// </summary>
    public string logistics_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string bad_reason { get; set; }
    /// <summary>
    /// 上海市 虹口区
    /// </summary>
    public string receiver_dtb { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string print_remark { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string paid { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string refund_status { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string trade_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string salesman_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string fullname { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string salesman_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string trade_status { get; set; }
    /// <summary>
    /// 小鹏测试仓库
    /// </summary>
    public string warehouse_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string block_reason { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string print_batch_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string trade_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string src_trade_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string nick_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string customer_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string customer_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string trade_time { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string pay_time { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string flag_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string post_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string id_card_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string id_card { get; set; }
    /// <summary>
    /// 上海 上海市 虹口区
    /// </summary>
    public string receiver_area { get; set; }
    /// <summary>
    /// 小鹏测试店铺
    /// </summary>
    public string shop_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string shop_no { get; set; }
    /// <summary>
    /// 勿更改本店铺内容
    /// </summary>
    public string shop_remark { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string modified { get; set; }
    /// <summary>
    /// 请发顺丰
    /// </summary>
    public string buyer_message { get; set; }
    /// <summary>
    /// 发顺丰快递
    /// </summary>
    public string cs_remark { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string invoice_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string invoice_title { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string invoice_content { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string invoice_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string cod_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string delivery_term { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string fenxiao_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string fenxiao_nick { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string platform_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string trade_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string employee_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string checker_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string discount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string src_tids { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string tax { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string tax_rate { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string currency { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string created { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string stock_check_time { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string packager_no { get; set; }
    /// <summary>
    /// 系统
    /// </summary>
    public string packager_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string picker_no { get; set; }
    /// <summary>
    /// 系统
    /// </summary>
    public string picker_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string printer_no { get; set; }
    /// <summary>
    /// 系统
    /// </summary>
    public string printer_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string examiner_no { get; set; }
    /// <summary>
    /// 系统
    /// </summary>
    public string examiner_name { get; set; }
    /// <summary>
    /// 销售订单
    /// </summary>
    public string order_type_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_province_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_city_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string receiver_district_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public List<StockoutOrderTradeEntryGetOutputDto> details_list { get; set; }
}

public class StockoutOrderTradeEntryGetOutputDto
{
    /// <summary>
    /// 
    /// </summary>
    public string rec_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string stockout_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string spec_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_count { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string total_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string paid { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string sell_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string remark { get; set; }
    /// <summary>
    /// 旺店通手持终端
    /// </summary>
    public string goods_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string brand_no { get; set; }
    /// <summary>
    /// 旺店通
    /// </summary>
    public string brand_name { get; set; }
    /// <summary>
    /// 旺店通手持终端黑色006型
    /// </summary>
    public string spec_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string spec_code { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string cost_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string weight { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string spec_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop1 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop2 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop3 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop4 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop5 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string prop6 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string platform_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string refund_status { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string market_price { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string discount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string share_amount { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string tax_rate { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string barcode { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string unit_name { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string sale_order_id { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string share_post { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string gift_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string src_oid { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string src_tid { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string from_mask { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string goods_type { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string batch_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string suite_no { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop1 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop2 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop3 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop4 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop5 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public string good_prop6 { get; set; }
}


/// <summary>
/// 销售出库记录 返回值
/// </summary>
public class StockoutOrderTradeGetListOutputDto : BaseGetListOutPutDto
{
    public List<StockoutOrderTradeGetOutputDto> stockout_list { get; set; } = new List<StockoutOrderTradeGetOutputDto>();
}

#endregion